<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
                <title>无标题文档</title>
                <link href="__PUBLIC__/css/select.css" rel="stylesheet" type="text/css" />
                <link href="__PUBLIC__/css/style.css" rel="stylesheet" type="text/css" />
                <script type="text/javascript" src="__PUBLIC__/js/jquery-1.9.0.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/jquery.idTabs.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/select-ui.min.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/editor/kindeditor.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/layer/layer.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/laydate/laydate.js"></script>
                <script type="text/javascript" src="__PUBLIC__/js/swfobject.js"></script>
                <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=7YWz04VGx8yQmsUTtmKzynSi"></script>

                <script type="text/javascript">
                        KE.show({
                                id: 'content7',
                                cssPath: './index.css'
                        });
                </script>

                <script type="text/javascript">
                        $(document).ready(function() {
                                /*                
                                 $(".select1").uedSelect({
                                 width: 345
                                 });
                                 $(".select2").uedSelect({
                                 width: 167
                                 });
                                 */
                                $(".select3").uedSelect({
                                        width: 100
                                });
                                //http://sentsin.com/layui/laydate/api.html   laydate API
                                laydate.skin("dahong");
                                var map = new BMap.Map("allmap");
                                var point = new BMap.Point({$fishplace['fishery_location']});
                                var geoc = new BMap.Geocoder();

                                //根据钓场的经纬度来获取钓场的地址
                                geoc.getLocation(point, function(rs) {
                                        var addComp = rs.addressComponents;
                                        var fishdate_address = addComp.province + ", " + addComp.city + ", " + addComp.district + ", " + addComp.street + ", " + addComp.streetNumber;
                                        $("input[name='fishdate_address']").val(fishdate_address);
                                });
                        });
                </script>
        </head>

        <body>

                <div class="place">
                        <span>位置：</span>
                        <ul class="placeul">
                                <li><a href="#">首页</a></li>
                                <li><a href="#">约钓管理</a></li>
                                <li><a href="#">约钓列表</a></li>
                                <li><a href="#">约钓详情</a></li>
                        </ul>
                </div>

                <div class="formbody">

                        <!--http://www.fullavatareditor.com/license.html  上传头像插件-->
                        <div id="usual1" class="usual"> 

                                <div class="itab">
                                        <ul> 
                                                <li><a href="#tab1" class="selected">约钓详情</a></li> 
                                        </ul>
                                </div> 

                                <div id="tab1" class="tabson">
                                        <!--
                                               <div class="formtext">Hi，<b>admin</b>，欢迎您试用信息发布功能！</div>
                                        -->
                                        <ul class="forminfo">
                                                <li>
                                                        <label>发起人<b></b></label>
                                                        <input name="username" type="text" class="dfinput" value="{$user['username']}"  style="width:200px;"/>
                                                        <!--<input name="" type="text" class="dfinput" value=""  style="width:518px;"/>-->
                                                </li>
                                                <li>
                                                        <label>发起时间<b></b></label>  
                                                        <input name="create_time" type="text" class="dfinput" value="{$fishdate['create_time']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>约钓地点<b>*</b></label>  
                                                        <input name="fishery_name" type="text" class="dfinput" value="{$fishplace['fishery_name']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>地址<b>*</b></label>  <!--$fishplace['fishery_location']-->
                                                        <input name="fishdate_address" type="text" class="dfinput" value=""  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>约钓时间<b></b></label>  
                                                        <input name="date_time" type="text" class="dfinput" value="{$fishdate['date_time']}"  style="width:200px;"/>
                                                </li>
                                                <li>
                                                        <label>&nbsp;</label>
                                                        <input name="" type="button" class="btn" value="更新"/>
                                                </li>
                                        </ul>
                                </div> 
                        </div> 

                        <script type="text/javascript">
                                $("#usual1 ul").idTabs();
                                $('.tablelist tbody tr:odd').addClass('odd');
                        </script>
                </div>

        </body>
</html>
